
import re

a=


'''
def numtodate(num):

    ma=re.match(r'([0-9]{4})([0-9]{2})([0-9]{2})',num)
    year=ma.group(1)
    month=ma.group(2)
    day=ma.group(3)
    date=str(year)+'-'+str(month)+'-'+str(day)
    return date

a=numtodate("20180503")
print (a)
'''
#s=100


'''
#c=a*0.1
#b=0
a=100
b=0
c=0
d=1
while d<=3 :
	d=d+0.2
	a=a*(d/(d-0.2))
	if a>100:
		b=a*0.1
		c+=b
		a=a-b	    
print (c)
print (a)
'''